package com.hotel.mapper;

import com.hotel.entity.Log;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LogMapper {
    void insert(Log log);

    List<Log> getOperationLog(@Param(value = "username") String username,@Param(value = "createTime") String createTime,@Param(value = "endTime") String endTime);

    Log getLog(String id);

    int deleteLog(String id);

    int clearLog();


}
